package com.hongxin.nw.netty.mq_info.domain;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 充电桩状态信息包上报
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CMD104 {

    /**
     * 充电桩编码,ASCII编码
     */
    private String machineId = "";

    /**
     * 充电枪数量
     */
    private String interfaceCount = "";

    /**
     * 充电口号
     */
    private String interfaceNumber = "";

    /**
     * 充电枪类型,1=直流； 2=交流；
     */
    private String interfaceType = "";

    /**
     * 工作状态
     * 0-空闲中
     * 1-正准备开始充电
     * 2-充电进行中
     * 3-充电结束
     * 4-启动失败
     * 5-预约状态
     * 6-系统故障(不能给汽车充电)
     * 7-充电枪被占用（双枪充电机只能用单枪时，不能用的另一枪报此状态）
     * 8-快充满（SOC大于等于设定的块充满SOC值时，使用此状态）
     * 9-已充满（SOC等于100%，使用此状态）
     */
    private String workingState = "";

    /**
     * 车连接状态
     * 0-	断开 1-半连接 2-连接
     * 直流目前只有0和2状态
     * 交流目前有0、1、2三种状态
     */
    private String connectorState = "";

    /**
     * 整桩有功功率,0.0001kw
     */
    private String powerTotal = "";

    /**
     * 状态个数，个数可以是一个或多个
     */
    private String stateCount = "";

    /**
     * 状态，请参考：充电桩状态与告警
     */
    private String states = "";


    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public String getInterfaceCount() {
        return interfaceCount;
    }

    public void setInterfaceCount(String interfaceCount) {
        this.interfaceCount = interfaceCount;
    }

    public String getInterfaceNumber() {
        return interfaceNumber;
    }

    public void setInterfaceNumber(String interfaceNumber) {
        this.interfaceNumber = interfaceNumber;
    }

    public String getInterfaceType() {
        return interfaceType;
    }

    public void setInterfaceType(String interfaceType) {
        this.interfaceType = interfaceType;
    }

    public String getWorkingState() {
        return workingState;
    }

    public void setWorkingState(String workingState) {
        this.workingState = workingState;
    }

    public String getConnectorState() {
        return connectorState;
    }

    public void setConnectorState(String connectorState) {
        this.connectorState = connectorState;
    }

    public String getPowerTotal() {
        return powerTotal;
    }

    public void setPowerTotal(String powerTotal) {
        this.powerTotal = powerTotal;
    }

    public String getStateCount() {
        return stateCount;
    }

    public void setStateCount(String stateCount) {
        this.stateCount = stateCount;
    }

    public String getStates() {
        return states;
    }

    public void setStates(String states) {
        this.states = states;
    }
}
